<?php namespace Summer\Box\Updates;

use Schema;
use Winter\Storm\Database\Updates\Migration;

class BuilderTableUpdateSummerBoxOrders extends Migration
{
    public function up()
    {
        Schema::table('summer_box_orders', function($table)
        {
            $table->integer('is_check')->nullable()->default(0);
            $table->integer('type')->nullable()->default(0);

        });
    }
    
    public function down()
    {
        Schema::table('summer_box_orders', function($table)
        {
            $table->dropColumn('is_check');
            $table->dropColumn('type');
        });
    }
}
